<%@ page import="utils.UserRoles" %>

<% 
	UserRoles URole = new UserRoles( (String) pageContext.getAttribute("USER_EMAILID") );	
	boolean badm = URole.isADM();
	boolean bappadm = URole.isAPPADM();
	boolean bexe = URole.isEXE();
	boolean bexp = URole.isEXP();
	boolean bmor = URole.isMOR();
	boolean bmps = URole.isMPS();
	boolean bnom = URole.isNOM();
	boolean bsgm = URole.isSGM();


	pageContext.setAttribute("isADM", badm, PageContext.PAGE_SCOPE);
	pageContext.setAttribute("isAPPADM", bappadm, PageContext.PAGE_SCOPE);
	pageContext.setAttribute("isEXE", bexe, PageContext.PAGE_SCOPE);
	pageContext.setAttribute("isEXP", bexp, PageContext.PAGE_SCOPE);
	pageContext.setAttribute("isMOR", bmor, PageContext.PAGE_SCOPE);
	pageContext.setAttribute("isMPS", bmps, PageContext.PAGE_SCOPE);
	pageContext.setAttribute("isNOM", bnom, PageContext.PAGE_SCOPE);
	pageContext.setAttribute("isSGM", bsgm, PageContext.PAGE_SCOPE);
	pageContext.setAttribute("USER_ROLE", URole.toString(), PageContext.PAGE_SCOPE);
	
%>

<%@ include file="header-snip.jsp" %>